<?php

include("inc/class.otr.php");
$otr = new OTR();

switch($_REQUEST['function']){
	case 'projecttotal':
		$projectId = $_REQUEST['projectid'];
		$total = $otr->getProjectTimeTotal($projectId);
		echo($total);
		break;
	case '':
		break;
	case '':
		break;
	case '':
		break;
	case '':
		break;
	case '':
		break;
	case '':
		break;
	case '':
		break;
}

?>